package com.odp.entity;

import lombok.Data;

@Data
public class Result {
    private Object data;//json数据

    private Integer code;//状态码

    private String msg;//响应结果描述信息

    public Result(Integer code, String msg,Object data ) {
        this.data = data;
        this.code = code;
        this.msg = msg;
    }

    public Result(Object data, Integer code) {
        this.data = data;
        this.code = code;
    }
}
